package com.ruoyi.group.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼宇管理对象 house_group_t
 * 
 * @author lijie
 * @date 2023-04-19
 */
public class HouseGroupT extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼宇id */
    private Long groupId;

    /** 小区名称 */
    @Excel(name = "小区名称")
    private String areaName;
    /** 楼宇名称 */
    @Excel(name = "楼宇名称")
    private String groupName;
    @Excel(name = "总户数")
    private String doorNumber;
    @Excel(name = "总面积")
    private Double spaceNum;
    @Excel(name = "应缴金额")
    private Double budgetMoney;
    @Excel(name = "已缴金额")
    private Double costMoney;
    @Excel(name = "未缴金额")
    private Double costMargin;
    /** 财务科目号(收入) */
    @Excel(name = "财务科目号(收入)")
    private String codeIn;

    /** 财务科目号(支出) */
    @Excel(name = "财务科目号(支出)")
    private String codeOut;
    /** 创建者 */
    @Excel(name = "创建者")
    private String creater;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 楼宇名称 */
    @Excel(name = "实测状态",readConverterExp = "0=预测,1=实测")
    private String spaceSts;
    @Excel(name = "应缴户数")
    private Integer mustDoor;
    @Excel(name = "已缴户数")
    private Integer alreadyDoor;
    @Excel(name = "未缴户数")
    private Integer notDoor;
    @Excel(name = "缴费比率")
    private String costRatio;
    @Excel(name = "备注")
    private String remark;
    private String unitName;
    private String doorName;



    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId() 
    {
        return groupId;
    }
    public void setSpaceSts(String spaceSts)
    {
        this.spaceSts = spaceSts;
    }

    public String getSpaceSts()
    {
        return spaceSts;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setCreater(String creater) 
    {
        this.creater = creater;
    }

    public String getCreater() 
    {
        return creater;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCodeIn(String codeIn) 
    {
        this.codeIn = codeIn;
    }

    public String getCodeIn() 
    {
        return codeIn;
    }
    public void setCodeOut(String codeOut) 
    {
        this.codeOut = codeOut;
    }

    public String getCodeOut() 
    {
        return codeOut;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
    public Double getSpaceNum() {
        return spaceNum;
    }

    public void setSpaceNum(Double spaceNum) {
        this.spaceNum = spaceNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("groupId", getGroupId())
            .append("spaceSts", getSpaceSts())
            .append("areaName", getAreaName())
            .append("groupName", getGroupName())
            .append("creater", getCreater())
            .append("createDate", getCreateDate())
            .append("codeIn", getCodeIn())
            .append("codeOut", getCodeOut())
            .append("remark", getRemark())
            .append("spaceNum", getSpaceNum())
            .append("doorNumber", getDoorNumber())
            .append("budgetMoney", getBudgetMoney())
            .append("costMoney", getCostMoney())
            .append("costMargin", getCostMargin())
            .append("mustDoor", getMustDoor())
            .append("alreadyDoor", getAlreadyDoor())
            .append("notDoor", getNotDoor())
            .toString();
    }

    public Double getBudgetMoney() {
        return budgetMoney;
    }

    public void setBudgetMoney(Double budgetMoney) {
        this.budgetMoney = budgetMoney;
    }

    public Double getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(Double costMoney) {
        this.costMoney = costMoney;
    }

    public Double getCostMargin() {
        return costMargin;
    }

    public void setCostMargin(Double costMargin) {
        this.costMargin = costMargin;
    }

    public Integer getMustDoor() {
        return mustDoor;
    }

    public void setMustDoor(Integer mustDoor) {
        this.mustDoor = mustDoor;
    }

    public Integer getAlreadyDoor() {
        return alreadyDoor;
    }

    public void setAlreadyDoor(Integer alreadyDoor) {
        this.alreadyDoor = alreadyDoor;
    }

    public Integer getNotDoor() {
        return notDoor;
    }

    public void setNotDoor(Integer notDoor) {
        this.notDoor = notDoor;
    }

    public String getCostRatio() {
        return costRatio;
    }

    public void setCostRatio(String costRatio) {
        this.costRatio = costRatio;
    }

    public String getDoorNumber() {
        return doorNumber;
    }

    public void setDoorNumber(String doorNumber) {
        this.doorNumber = doorNumber;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getDoorName() {
        return doorName;
    }

    public void setDoorName(String doorName) {
        this.doorName = doorName;
    }
}
